package com.plan.service.card;

import com.plan.base.entity.Result;
import com.plan.controller.user.response.UserVO;
import com.plan.controller.card.request.ExchangeLogPageListReq;
import com.plan.controller.card.request.ExchangeReq;
import com.plan.controller.card.response.ExchangeLogListRes;

import java.util.List;

public interface ExchangeService {
    Result<Long> exchange(ExchangeReq req, UserVO user);

    List<ExchangeLogListRes> getExchangeLogList(ExchangeLogPageListReq req);
}
